package com.wicket.okrbff.biz.service.impl;
import cn.hutool.core.bean.BeanUtil;
import com.wicket.okrapp.integration.dto.*;
import com.wicket.okrbff.biz.service.TaskGenService;
import com.wicket.okrbff.biz.service.dto.common.BffTimerTaskPlanDto;
import com.wicket.okrbff.common.ro.OkrResult;
import com.wicket.okrbff.biz.service.dto.req.*;
import com.wicket.okrbff.biz.service.dto.res.*;
import com.wicket.okrframework.integration.dto.*;
import org.apache.skywalking.apm.toolkit.trace.Tag;
import org.apache.skywalking.apm.toolkit.trace.Tags;
import org.apache.skywalking.apm.toolkit.trace.Trace;
import com.wicket.okrbff.common.ro.OkrResult;
import com.wicket.okrbff.common.util.CommonFunctionHelper;
import com.wicket.okrbff.common.util.RedisUtil;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.wicket.okrapp.integration.FwAppBatchClient;
import com.wicket.okrapp.integration.FwAppTaskGenClient;
import com.wicket.okrbff.common.exception.Assert;
import com.wicket.okrbff.common.exception.BizException;
import com.wicket.okrframework.integration.FwBaseInductionRecordClient;

import java.util.ArrayList;
import cn.hutool.core.collection.CollectionUtil;
import java.util.List;

import java.util.stream.Collectors;

/**
 * @author ：
 * @date ：
 *
 *
 * @version 1.0
 */
@Service
public class TaskGenServiceImpl implements TaskGenService {

    @Resource
    private RedisUtil redisUtil;
@Resource
  FwAppBatchClient fwAppBatchClient;

@Resource
  FwAppTaskGenClient fwAppTaskGenClient;
@Resource
  FwBaseInductionRecordClient fwBaseInductionRecordClient;
/**
   * B3-2批量增一级指标定时汇报任务调度(管理)[3777]
   * gen by moon at 8/29/2022, 12:48:54 PM
   */
    @Trace(operationName = "B3-2批量增一级指标定时汇报任务调度(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffBatchAddFristTargetObjTimerReportTaskPlanRespDto batchAddFristTargetObjTimerReportTaskPlan(BffBatchAddFristTargetObjTimerReportTaskPlanReqDto reqDto){
      
       
       //virtualUsage D3-3查询评价模板批次设置  11665
      QueryPlanEvaBatchSetDetailRespDto queryPlanEvaBatchSetDetailRespDto = null;
    QueryPlanEvaBatchSetDetailReqDto queryPlanEvaBatchSetDetailReqDto=new QueryPlanEvaBatchSetDetailReqDto();
  queryPlanEvaBatchSetDetailReqDto.setBatchSetObjectType("EVALUATION_TEMPLATE");//sourceId:179822_1_11665
if(reqDto!=null){
      queryPlanEvaBatchSetDetailReqDto.setBatchSetId(reqDto.getBatchSetId());//sourceId:179818_1_11665
    }
  
    /*D3-3查询评价模板批次设置[3005]   */
    Assert.isNull(queryPlanEvaBatchSetDetailReqDto.getBatchSetId(),"B3-2批量增一级指标定时汇报任务调度(管理)-D3-3查询评价模板批次设置-批次设置对象ID不能为空",false);
Assert.isNull(queryPlanEvaBatchSetDetailReqDto.getBatchSetObjectType(),"B3-2批量增一级指标定时汇报任务调度(管理)-D3-3查询评价模板批次设置-批次设置对象类型不能为空",false);
      queryPlanEvaBatchSetDetailRespDto = fwAppBatchClient.queryPlanEvaBatchSetDetail(queryPlanEvaBatchSetDetailReqDto).getData();
      
      
if((queryPlanEvaBatchSetDetailRespDto!= null&&  queryPlanEvaBatchSetDetailRespDto.getManageLockStatus() !=null && queryPlanEvaBatchSetDetailRespDto.getManageLockStatus().equals("UNLOCK"))) {
        //if(D3-3查询评价模板批次设置.管理锁定状态 等于 未锁定)  11666
        
AddTimerReportTaskPlanComRespDto addTimerReportTaskPlanComRespDto = null;
    AddTimerReportTaskPlanComReqDto addTimerReportTaskPlanComReqDto=new AddTimerReportTaskPlanComReqDto();
  addTimerReportTaskPlanComReqDto.setTargetCycleContentTypeCode("OBJECTIVE");//sourceId:179815_1_11667
if(reqDto!=null){
      addTimerReportTaskPlanComReqDto.setEvaObjTargetCycleList(reqDto.getTargetObjList());//sourceId:179817_1_11667
addTimerReportTaskPlanComReqDto.setTargetId(reqDto.getTargetId());//sourceId:179816_1_11667
    }
  
    /*D3-2新增定时汇报任务调度(公共)[3481]   */
    Assert.isNull(addTimerReportTaskPlanComReqDto.getTargetCycleContentTypeCode(),"B3-2批量增一级指标定时汇报任务调度(管理)-D3-2新增定时汇报任务调度(公共)-关联目标内容类型编码不能为空",false);
Assert.isNull(addTimerReportTaskPlanComReqDto.getTargetId(),"B3-2批量增一级指标定时汇报任务调度(管理)-D3-2新增定时汇报任务调度(公共)-冗余目标ID不能为空",false);
      addTimerReportTaskPlanComRespDto = fwAppTaskGenClient.addTimerReportTaskPlanCom(addTimerReportTaskPlanComReqDto).getData();
      
      
//processBranchName:正常结束 ,processBranchId:11668
        
      }
else{
       //else  11669
      
//异常结束 11670
      throw new BizException("undefined","undefined",false);
    }
BffBatchAddFristTargetObjTimerReportTaskPlanRespDto retData = new BffBatchAddFristTargetObjTimerReportTaskPlanRespDto();
  
  

  
  
return retData;
  }
/**
   * B3-更新目标内容目标周期名称等调度（人工真实测试）[4658]
   * gen by moon at 9/22/2022, 8:48:03 AM
   */
    @Trace(operationName = "B3-更新目标内容目标周期名称等调度（人工真实测试）")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffRefreshTargetContCycleNameEtcPlanRespDto refreshTargetContCycleNameEtcPlan(BffRefreshTargetContCycleNameEtcPlanReqDto reqDto){
      
       
       //步骤0: D3-2更新目标内容目标周期等调度名称(公共) - refreshTargetContCycleEtcPlanNameCom
     RefreshTargetContCycleEtcPlanNameComRespDto refreshTargetContCycleEtcPlanNameComRespDto = null;
    RefreshTargetContCycleEtcPlanNameComReqDto refreshTargetContCycleEtcPlanNameComReqDto=new RefreshTargetContCycleEtcPlanNameComReqDto();
  if(reqDto!=null){
      refreshTargetContCycleEtcPlanNameComReqDto.setObjectTypeCode(reqDto.getObjectTypeCode());//sourceId:339449_1
refreshTargetContCycleEtcPlanNameComReqDto.setObjectId(reqDto.getObjectId());//sourceId:339450_1
refreshTargetContCycleEtcPlanNameComReqDto.setSpaceId(reqDto.getSpaceId());//sourceId:339451_1
      refreshTargetContCycleEtcPlanNameComReqDto.setTimingTaskDispatchId(reqDto.getTimingTaskDispatchId());
    }
  
    /*D3-2更新目标内容目标周期等调度名称(公共)[3555]   */
    Assert.isNull(refreshTargetContCycleEtcPlanNameComReqDto.getObjectTypeCode(),"B3-更新目标内容目标周期名称等调度（人工真实测试）-D3-2更新目标内容目标周期等调度名称(公共)-归属对象类型编码不能为空",false);
Assert.isNull(refreshTargetContCycleEtcPlanNameComReqDto.getObjectId(),"B3-更新目标内容目标周期名称等调度（人工真实测试）-D3-2更新目标内容目标周期等调度名称(公共)-归属对象内容ID不能为空",false);
Assert.isNull(refreshTargetContCycleEtcPlanNameComReqDto.getSpaceId(),"B3-更新目标内容目标周期名称等调度（人工真实测试）-D3-2更新目标内容目标周期等调度名称(公共)-创建于空间ID不能为空",false);
      refreshTargetContCycleEtcPlanNameComRespDto = fwAppTaskGenClient.refreshTargetContCycleEtcPlanNameCom(refreshTargetContCycleEtcPlanNameComReqDto).getData();
      
      
      
    
BffRefreshTargetContCycleNameEtcPlanRespDto retData = new BffRefreshTargetContCycleNameEtcPlanRespDto();
  
  

  
  
return retData;
  }
/**
   * B3-2查询定时任务调度列表(管理)[4175]
   * gen by moon at 5/19/2023, 4:54:39 PM
   */
    @Trace(operationName = "B3-2查询定时任务调度列表(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryTimerTaskPlanListRespDto queryTimerTaskPlanList(BffQueryTimerTaskPlanListReqDto reqDto){
      
       
       QueryTimerTaskPlanListRespDto queryTimerTaskPlanListRespDto_1 =null;
BatchQueryInductionRecordComRespDto batchQueryInductionRecordComRespDto_1 =null;
//步骤0: D3-2查询定时任务调度列表 - queryTimerTaskPlanList
     QueryTimerTaskPlanListRespDto queryTimerTaskPlanListRespDto = null;
    QueryTimerTaskPlanListReqDto queryTimerTaskPlanListReqDto=new QueryTimerTaskPlanListReqDto();
  queryTimerTaskPlanListReqDto.setTaskDispatchTypeCode("CONTENT_SUBTASK");//sourceId:448564_1
queryTimerTaskPlanListReqDto.setIsComplete("FALSE");//sourceId:255762_1
queryTimerTaskPlanListReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:255763_1
if(reqDto!=null){
      queryTimerTaskPlanListReqDto.setIsRoutineDispatchAction(reqDto.getIsRoutineDispatchAction());//SimpleFieldAssign//sourceId:448563_1
queryTimerTaskPlanListReqDto.setIsRealTimeaSync(reqDto.getIsRealTimeaSync());//SimpleFieldAssign//sourceId:957225_1
    }
  
    /*D3-2查询定时任务调度列表[3311]   */
    Assert.isNull(queryTimerTaskPlanListReqDto.getTaskDispatchTypeCode(),"B3-2查询定时任务调度列表(管理)-D3-2查询定时任务调度列表-任务调度类型编码不能为空",false);
Assert.isNull(queryTimerTaskPlanListReqDto.getIsComplete(),"B3-2查询定时任务调度列表(管理)-D3-2查询定时任务调度列表-是否执行完成不能为空",false);
Assert.isNull(queryTimerTaskPlanListReqDto.getSpaceId(),"B3-2查询定时任务调度列表(管理)-D3-2查询定时任务调度列表-创建于空间ID不能为空",false);
      queryTimerTaskPlanListRespDto = fwAppTaskGenClient.queryTimerTaskPlanList(queryTimerTaskPlanListReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      queryTimerTaskPlanListRespDto_1 = queryTimerTaskPlanListRespDto;
    
//步骤1: D1-3批量查询就职记录(管理)(公共) - batchQueryInductionRecordCom
     BatchQueryInductionRecordComRespDto batchQueryInductionRecordComRespDto = null;
    if(queryTimerTaskPlanListRespDto !=null){
          BatchQueryInductionRecordComReqDto batchQueryInductionRecordComReqDto=new BatchQueryInductionRecordComReqDto();
  if(queryTimerTaskPlanListRespDto!= null&&  queryTimerTaskPlanListRespDto.getTimerTaskPlanList() !=null&& !CollectionUtil.isEmpty(queryTimerTaskPlanListRespDto.getTimerTaskPlanList())){
      batchQueryInductionRecordComReqDto.setOrgInductionRecordList(queryTimerTaskPlanListRespDto.getTimerTaskPlanList().stream().map(item->item.getCreateInductionId())
        .collect(Collectors.toList()));/*list-to-strings*///sourceId:394404_1
    }
  
    /*D1-3批量查询就职记录(管理)(公共)[5024]   */
    
      batchQueryInductionRecordComRespDto = fwBaseInductionRecordClient.batchQueryInductionRecordCom(batchQueryInductionRecordComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;
      
      
      batchQueryInductionRecordComRespDto_1 = batchQueryInductionRecordComRespDto;
           }
    
BffQueryTimerTaskPlanListRespDto retData = new BffQueryTimerTaskPlanListRespDto();
  //数据集融合  MoreListToOneSource
        if(queryTimerTaskPlanListRespDto_1!= null && !CollectionUtil.isEmpty(queryTimerTaskPlanListRespDto_1.getTimerTaskPlanList()) ){
          for (TimerTaskPlanDto timerTaskPlanDto : queryTimerTaskPlanListRespDto_1.getTimerTaskPlanList()) {
              BffTimerTaskPlanDto retElm = new BffTimerTaskPlanDto();
             if(queryTimerTaskPlanListRespDto_1!=null){
      retElm.setTimingTaskDispatchId(timerTaskPlanDto.getTimingTaskDispatchId());//SimpleFieldAssign//sourceId:88701_2
retElm.setTimingTaskDispatchName(timerTaskPlanDto.getTimingTaskDispatchName());//SimpleFieldAssign//sourceId:88702_2
retElm.setObjectTypeCode(timerTaskPlanDto.getObjectTypeCode());//SimpleFieldAssign//sourceId:88703_2
retElm.setObjectId(timerTaskPlanDto.getObjectId());//SimpleFieldAssign//sourceId:88704_2
retElm.setIsComplete(timerTaskPlanDto.getIsComplete());//SimpleFieldAssign//sourceId:88705_2
retElm.setIsRoutineDispatchAction(timerTaskPlanDto.getIsRoutineDispatchAction());//SimpleFieldAssign//sourceId:119256_2
retElm.setCreateInductionId(timerTaskPlanDto.getCreateInductionId());//SimpleFieldAssign//sourceId:88706_2
retElm.setCreateTime(timerTaskPlanDto.getCreateTime());//SimpleFieldAssign//sourceId:88707_2
    }
              retData.getTimerTaskPlanList().add(retElm);
               if(batchQueryInductionRecordComRespDto_1!= null){
          for (OrgInductionRecordDto orgInductionRecordDto : batchQueryInductionRecordComRespDto_1.getOrgInductionRecordList()) {
                if (orgInductionRecordDto.getInductionRecordId().equals(timerTaskPlanDto.getCreateInductionId())) {
                 if(batchQueryInductionRecordComRespDto_1!=null){
      retElm.setUserId(orgInductionRecordDto.getUserId());//SimpleFieldAssign//sourceId:110896_2
retElm.setUserFace(orgInductionRecordDto.getUserFace());//SimpleFieldAssign//sourceId:110897_2
retElm.setIdCardName(orgInductionRecordDto.getIdCardName());//SimpleFieldAssign//sourceId:110898_2
retElm.setNickName(orgInductionRecordDto.getNickName());//SimpleFieldAssign//sourceId:110899_2
    }
                }
            }
          }
        
          }
        }//sourceId:255769_1
  

  retData.setPageNum(queryTimerTaskPlanListRespDto.getPageNum());
        retData.setPageSize(queryTimerTaskPlanListRespDto.getPageSize());
        retData.setTotal(queryTimerTaskPlanListRespDto.getTotalNum());
        retData.setIsLastPage((Math.ceil(Double.valueOf(queryTimerTaskPlanListRespDto.getTotalNum()) / Double.valueOf(queryTimerTaskPlanListRespDto.getPageSize()))) <= retData.getPageNum());
        
  
return retData;
  }
/**
   * B3-2查询定时任务调度详情(管理)[4176]
   * gen by moon at 12/21/2022, 4:42:33 PM
   */
    @Trace(operationName = "B3-2查询定时任务调度详情(管理)")
    @Tags({@Tag(key = "参数",value = "arg[0]"),
            @Tag(key = "返回值",value = "returnedObj")})
  @Override
  public BffQueryTimerTaskPlanDetailRespDto queryTimerTaskPlanDetail(BffQueryTimerTaskPlanDetailReqDto reqDto){
      
       
       QueryTimerTaskPlanDetailRespDto queryTimerTaskPlanDetailRespDto_1 =null;
QueryInductionRecordInfoDetailComRespDto queryInductionRecordInfoDetailComRespDto_1 =null;
QueryInductionRecordInfoDetailComRespDto queryInductionRecordInfoDetailComRespDto_3 =null;
//步骤0: D3-2查询定时任务调度详情 - queryTimerTaskPlanDetail
     QueryTimerTaskPlanDetailRespDto queryTimerTaskPlanDetailRespDto = null;
    QueryTimerTaskPlanDetailReqDto queryTimerTaskPlanDetailReqDto=new QueryTimerTaskPlanDetailReqDto();
  if(reqDto!=null){
      queryTimerTaskPlanDetailReqDto.setTimingTaskDispatchId(reqDto.getTimingTaskDispatchId());//SimpleFieldAssign//sourceId:255770_1
    }
  
    /*D3-2查询定时任务调度详情[3310]   */
    Assert.isNull(queryTimerTaskPlanDetailReqDto.getTimingTaskDispatchId(),"B3-2查询定时任务调度详情(管理)-D3-2查询定时任务调度详情-定时任务调度记录ID不能为空",false);
      queryTimerTaskPlanDetailRespDto = fwAppTaskGenClient.queryTimerTaskPlanDetail(queryTimerTaskPlanDetailReqDto).getData();
      
      
      queryTimerTaskPlanDetailRespDto_1 = queryTimerTaskPlanDetailRespDto;
    
//步骤1: D1-3查询个人就职记录信息详情（公共） - queryInductionRecordInfoDetailCom
     QueryInductionRecordInfoDetailComRespDto queryInductionRecordInfoDetailComRespDto = null;
    if(queryTimerTaskPlanDetailRespDto !=null){
          QueryInductionRecordInfoDetailComReqDto queryInductionRecordInfoDetailComReqDto=new QueryInductionRecordInfoDetailComReqDto();
  if(queryTimerTaskPlanDetailRespDto!=null){
      queryInductionRecordInfoDetailComReqDto.setInductionRecordId(queryTimerTaskPlanDetailRespDto.getCreateInductionId());//SimpleFieldAssign//sourceId:255812_1
    }
  
    /*D1-3查询创建人个人就职记录信息详情（公共）[715]   */
    Assert.isNull(queryInductionRecordInfoDetailComReqDto.getInductionRecordId(),"B3-2查询定时任务调度详情(管理)-D1-3查询创建人个人就职记录信息详情（公共）-就职记录ID不能为空",false);
      queryInductionRecordInfoDetailComRespDto = fwBaseInductionRecordClient.queryInductionRecordInfoDetailCom(queryInductionRecordInfoDetailComReqDto).getData();
      
      
      queryInductionRecordInfoDetailComRespDto_1 = queryInductionRecordInfoDetailComRespDto;
           }
    
//步骤2: D1-3查询个人就职记录信息详情（公共） - queryInductionRecordInfoDetailCom
     QueryInductionRecordInfoDetailComRespDto queryInductionRecordInfoDetailComRespDto_2 = null;
    if(queryTimerTaskPlanDetailRespDto !=null){
          QueryInductionRecordInfoDetailComReqDto queryInductionRecordInfoDetailComReqDto_1=new QueryInductionRecordInfoDetailComReqDto();
  if(queryTimerTaskPlanDetailRespDto!=null){
      queryInductionRecordInfoDetailComReqDto_1.setInductionRecordId(queryTimerTaskPlanDetailRespDto.getOperationInductionId());//SimpleFieldAssign//sourceId:255820_1
    }
  
    /*D1-3查询操作人个人就职记录信息详情（公共）[715]   */
    Assert.isNull(queryInductionRecordInfoDetailComReqDto_1.getInductionRecordId(),"B3-2查询定时任务调度详情(管理)-D1-3查询操作人个人就职记录信息详情（公共）-就职记录ID不能为空",false);
      queryInductionRecordInfoDetailComRespDto_2 = fwBaseInductionRecordClient.queryInductionRecordInfoDetailCom(queryInductionRecordInfoDetailComReqDto_1).getData();
      
      
      queryInductionRecordInfoDetailComRespDto_3 = queryInductionRecordInfoDetailComRespDto_2;
           }
    
BffQueryTimerTaskPlanDetailRespDto retData = new BffQueryTimerTaskPlanDetailRespDto();
  if(queryTimerTaskPlanDetailRespDto_1!=null){
      retData.setTimingTaskDispatchId(queryTimerTaskPlanDetailRespDto_1.getTimingTaskDispatchId());//SimpleFieldAssign//sourceId:255800_1
retData.setTimingTaskDispatchName(queryTimerTaskPlanDetailRespDto_1.getTimingTaskDispatchName());//SimpleFieldAssign//sourceId:255801_1
retData.setIsComplete(queryTimerTaskPlanDetailRespDto_1.getIsComplete());//SimpleFieldAssign//sourceId:255802_1
retData.setIsRoutineDispatchAction(queryTimerTaskPlanDetailRespDto_1.getIsRoutineDispatchAction());//SimpleFieldAssign//sourceId:441379_1
retData.setIsAppointSimpleMq(queryTimerTaskPlanDetailRespDto_1.getIsAppointSimpleMq());//SimpleFieldAssign//sourceId:540107_1
retData.setDispatchActionTypeCode(queryTimerTaskPlanDetailRespDto_1.getDispatchActionTypeCode());//SimpleFieldAssign//sourceId:406427_1
retData.setObjectTypeCode(queryTimerTaskPlanDetailRespDto_1.getObjectTypeCode());//SimpleFieldAssign//sourceId:255803_1
//retData.setBelongToContentCode(queryTimerTaskPlanDetailRespDto_1.getBelongToContentCode());//SimpleFieldAssign//sourceId:437749_1
retData.setObjectId(queryTimerTaskPlanDetailRespDto_1.getObjectId());//SimpleFieldAssign//sourceId:255804_1
retData.setAddRuleInfoTypeCode(queryTimerTaskPlanDetailRespDto_1.getAddRuleInfoTypeCode());//SimpleFieldAssign//sourceId:255805_1
retData.setAddRuleInfoId(queryTimerTaskPlanDetailRespDto_1.getAddRuleInfoId());//SimpleFieldAssign//sourceId:255806_1
retData.setAutoPlanTime(queryTimerTaskPlanDetailRespDto_1.getAutoPlanTime());//SimpleFieldAssign//sourceId:255807_1
retData.setCreateInductionId(queryTimerTaskPlanDetailRespDto_1.getCreateInductionId());//SimpleFieldAssign//sourceId:255809_1
retData.setCreateTime(queryTimerTaskPlanDetailRespDto_1.getCreateTime());//SimpleFieldAssign//sourceId:255811_1
retData.setOperationInductionId(queryTimerTaskPlanDetailRespDto_1.getOperationInductionId());//SimpleFieldAssign//sourceId:255808_1
retData.setOperateTime(queryTimerTaskPlanDetailRespDto_1.getOperateTime());//SimpleFieldAssign//sourceId:255810_1
retData.setSpaceId(queryTimerTaskPlanDetailRespDto_1.getSpaceId());//SimpleFieldAssign//sourceId:406428_1
retData.setAppId(queryTimerTaskPlanDetailRespDto_1.getAppId());//SimpleFieldAssign//sourceId:437750_1
    }
if(queryInductionRecordInfoDetailComRespDto_1!=null){
      retData.setUserFace(queryInductionRecordInfoDetailComRespDto_1.getUserFace());//SimpleFieldAssign//sourceId:255833_1
retData.setUserId(queryInductionRecordInfoDetailComRespDto_1.getUserId());//SimpleFieldAssign//sourceId:255830_1
retData.setIdCardName(queryInductionRecordInfoDetailComRespDto_1.getIdCardName());//SimpleFieldAssign//sourceId:255831_1
retData.setNickName(queryInductionRecordInfoDetailComRespDto_1.getNickName());//SimpleFieldAssign//sourceId:255832_1
    }
if(queryInductionRecordInfoDetailComRespDto_3!=null){
      retData.setOperationName(queryInductionRecordInfoDetailComRespDto_3.getIdCardName());//SimpleFieldAssign//sourceId:255828_1
retData.setOperationNickName(queryInductionRecordInfoDetailComRespDto_3.getNickName());//SimpleFieldAssign//sourceId:255829_1
    }
  

  
  
return retData;
  }
 //
}
